package zero.tech.games.pdk.data;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import zero.tech.games.logic.common.GameBase;
import zero.tech.games.pdk.data.entity.Card;
import zero.tech.games.pdk.data.entity.DispatchData;
import zero.tech.games.pdk.data.entity.PlayerData;

public class PdkGameBase extends GameBase{
	private final Map<Integer,List<Card>> handsmap=new HashMap<>();//发牌数据(战绩)
	private final List<DispatchData> dispatch_datas=new ArrayList<>();//打牌数据(战绩)
	private final List<Card> dipai=new ArrayList<>();//底牌数据(战绩与结算)
	private final Map<Integer,PlayerData> players=new HashMap<>();
	private final Map<Integer,DispatchData> last_dispatchs=new HashMap<>();
	private int dispatch_uid;
	private DispatchData pre;
	private Integer lastBombUid;
	private boolean hashongshi;
	public PdkGameBase(String room_id) {
		super(room_id);
	}
	public Map<Integer, PlayerData> getPlayers() {
		return players;
	}
	public int getDispatch_uid() {
		return dispatch_uid;
	}
	public void setDispatch_uid(int dispatch_uid) {
		this.dispatch_uid = dispatch_uid;
	}
	public DispatchData getPre() {
		return pre;
	}
	public void setPre(DispatchData pre) {
		this.pre = pre;
	}
	public List<Card> getDipai() {
		return dipai;
	}
	public List<DispatchData> getDispatch_datas() {
		return dispatch_datas;
	}
	public Map<Integer, List<Card>> getHandsmap() {
		return handsmap;
	}
	public Map<Integer, DispatchData> getLast_dispatchs() {
		return last_dispatchs;
	}
	public Integer getLastBombUid() {
		return lastBombUid;
	}
	public void setLastBombUid(Integer lastBombUid) {
		this.lastBombUid = lastBombUid;
	}
	public boolean isHashongshi() {
		return hashongshi;
	}
	public void setHashongshi(boolean hashongshi) {
		this.hashongshi = hashongshi;
	}
}
